package hcqs.nav.grid.macros;

/**
 * 位姿信息
 */
public class Pose {
    public Pose(Point p, int orient) {
        this.x = p.getX();
        this.y = p.getY();
        this.orient = orient;
    }

    public Pose(int x, int y, int orient) {
        this.x = x;
        this.y = y;
        this.orient = orient;
    }

    private int x;      // x坐标
    private int y;      // y坐标
    private int orient; // 朝向

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public int getOrient() {
        return orient;
    }

    public void setOrient(int orient) {
        this.orient = orient;
    }
}
